package com.vhall.component.entity.rbac.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author dalong
 * @date 2021-05-17 17:51
 */
@Data
public class RoleDeleteAccessReqVO implements Serializable {

    private static final long serialVersionUID = 8346272085912685745L;

    @ParamName(value = "vss_token")
    private String vssToken;

    @NotNull(message = "不能为空")
    @ParamName(value = "role_id")
    private Integer roleId;

    /**
     * 权限id，json字符串
     */
    @NotBlank(message = "不能为空")
    @ParamName(value = "access_id")
    private String accessId;

}
